From fdf110b8845248ad932bf774614a4fad95189c74 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 14 Jul 2022 16:30:56 +0200 Subject: [PATCH] Silence unused variable warning in a build --without-all * src/xfns.c (Fx_double_buffered_p): Silence unused variable warning in a build --without-all. --- src/xfns.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xfns.c b/src/xfns.c index 41a9d710d44..748ea10c952 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -8850,9 +8850,8 @@ DEFUN ("x-double-buffered-p", Fx_double_buffered_p, Sx_double_buffered_p, doc: /* Return t if FRAME is being double buffered. */) (Lisp_Object frame) { - struct frame *f = decode_live_frame (frame); - #ifdef HAVE_XDBE + struct frame *f = decode_live_frame (frame); return FRAME_X_DOUBLE_BUFFERED_P (f) ? Qt : Qnil; #else return Qnil; -- 2.30.2